<script>
import Card from './components/card.vue';
import Button from './components/button.vue';
import logger from './utils/logger.js';

export default {
  onLaunch: function() {
    console.log('App Launch');
    logger.info('Application launched');
    console.log('App Launch');
  },
  onShow: function() {
    console.log('App Show');
    logger.info('Application shown');
  },
  onHide: function() {
    console.log('App Hide');
    logger.info('Application hidden');
  },
  onError: function(err) {
    console.error('App Error', err);
    logger.error('Application error', err);
  },
  globalData: {
    userInfo: null
  }
}
</script>

<style>
/*每个页面公共css */
@import url('./uni.scss');
</style>